<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
</head>
<style type="text/css">
*{
	margin:0px;
	padding:0px;
	text-align:center;
	vertical-align:middle;
	}
#div001 {
	  background-color:#F00;
	  height:200px;
	  width:200px;
	  border:ridge 2px blue ;
	  padding:20px;
	  }
	  #div002 {
	  background-color:#123456;
	  height:200px;
	  width:200px;
	  border:dotted black 10px;
	  padding:10px;
	  margin:10px 0px;
	  }
</style>

<body>
<div id="div001">盒子模型</div>
<div id="div002">盒子模型2</div>
</body>


</html>
